<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$sysname}</title>
    <meta name="renderer" content="webkit" />
    <script type="text/javascript" src="__PUBLIC__/Common/js/function.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Common/js/jquery.js"></script>
    <!-- MASTER STYLESHEET-->
    <link href="__PUBLIC__/Admin/css/styles.css" rel="stylesheet" type="text/css" />
    <!-- LOAD TIPSY TOOLTIPS-->
    <script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.tipsy.js"></script>
    <!-- LOAD CUSTOM JQUERY SCRIPTS-->
    <script type="text/javascript" src="__PUBLIC__/Admin/js/scripts.js"></script>	
    <!-- LOAD FACEBOX -->
    <script type="text/javascript" src="__PUBLIC__/Admin/js/facebox.js"></script>
    <link href="__PUBLIC__/Admin/css/facebox.css" rel="stylesheet" type="text/css" />
    <!-- LOAD FLOT GRAPHS -->
    <script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.flot.pack.js"></script>
    <!--[if IE]>
     <script language="javascript" type="text/javascript" src="__PUBLIC__/Admin/js/excanvas.pack.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script src="__PUBLIC__/Admin/js/pngfix.js"></script>
    <script>
        DD_belatedPNG.fix('.png_bg');
    </script>        
    <![endif]-->
    <!-- LOAD GRAPH JAVASCRIPT FILE-->
    <script src="__PUBLIC__/Admin/js/graphs.js" type="text/javascript"></script>
    <link href="__PUBLIC__/Common/css/main_style.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="__PUBLIC__/Common/my97/WdatePicker.js"></script>

    <script type="text/javascript" src="__PUBLIC__/Common/js/jquery.validate.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Common/js/messages_zh.js"></script>
  </head>
  <body>
    <script>
      var rules = {};
      var messages = {};
    </script>
    <div id="header" class="png_bg">
      <div id="head_wrap" class="container_12">
        <!-- start of logo - you could replace this with an image of your logo -->
        <div id="logo" class="grid_4">
          <h1 style="color: #fff;margin-bottom: 20px;margin-left: 12px">{$title}</h1>
        </div>
        <!-- end logo -->
        <!-- start control panel -->
        <div id="controlpanel" class="grid_8">
          <ul>
            <li><p><strong>你好，{$loginInfo.name}</strong></p></li>
            <li><a href="{:U('Index/edit')}&id={$loginInfo.id}" class="last">编辑</a></li>
            <li><a href="{:U('Index/logout')}" class="last">退出登录</a></li>
          </ul>
        </div>
        <!-- end control panel -->
        <!-- start navigation -->
        <div id="navigation" class="grid_12">
          <ul>
            <if condition="$superadmin eq 0">
            <foreach name="menu" item="item">
              <li><a style="padding: 0 15px;" href="{$item.url}" class="{$item.class}" >{$item.name}</a></li>
            </foreach>
              <else />
              <volist name="menu" id="item" offset="0" length="2">
                <li><a style="padding: 0 15px" href="{$item.url}" class="{$item.class}" >{$item.name}</a></li>
              </volist>
            </if>
          </ul>
        </div>
        <!-- end navigation -->
      </div><!-- end headwarp  -->
    </div><!-- end header -->